<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table{
            border-collapse: collapse;
        }
        td{
            padding: 3px 10px;
            border: 1px solid silver;
        }
    </style>
</head>
<body>





<script>
   /* for(var i = 0; i< 4;i++){
        console.log("*");
        for(var k = 0;k < 3;k++){
            console.log(k);
            console.log(234);
        }
        for(var j = 2;j < 4;j++){
            console.log("jintian");
            console.log(j);
        }
        console.log("*");
    }*/





document.write("<table>");
    for(var i = 1;i<=9; i++){
        document.write("<tr>");
        for(var j=1;j<=i;j++){
            document.write("<td>");
                document.write(j + "*" + i + "=" + i*j );
            document.write("</td>");
        }
        document.write("</tr>");
    }
   document.write("</table>");



</script>



</body>
</html>